#include "Cube.h"
void Cube::set_abc(int a, int b, int c)
{
	m_a = a;
	m_b = b;
	m_c = c;
}
int Cube::get_area()
{
	return 2 * (m_a * m_b + m_a * m_c + m_b * m_c);
}
int Cube::get_volume()
{
	return m_a * m_b * m_c;
}
bool Cube::judge_cube(Cube& another)
{
	if (m_a == another.get_a() && m_b == another.get_b() && m_c == another.get_c())
		return true;
	return false;
}